package com.offcn.seckill.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


/**
 * 秒杀订单
 *
 * @author 秋林
 * @date 2022/10/18 16:50:14
 */
@ApiModel(description = "SeckillOrder",value = "SeckillOrder")
@TableName(value="tb_seckill_order")
public class SeckillOrder implements Serializable{

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键",required = false)
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
	private Long id;

	/**
	 * 秒杀商品ID
	 */
	@ApiModelProperty(value = "秒杀商品ID",required = false)
    @TableField(value = "seckill_id")
	private Long seckillId;

	/**
	 * 支付金额
	 */
	@ApiModelProperty(value = "支付金额",required = false)
    @TableField(value = "money")
	private String money;

	/**
	 * 用户
	 */
	@ApiModelProperty(value = "用户",required = false)
    @TableField(value = "user_id")
	private String userId;

	/**
	 * 商家
	 */
	@ApiModelProperty(value = "商家",required = false)
    @TableField(value = "seller_id")
	private String sellerId;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间",required = false)
    @TableField(value = "create_time")
	private Date createTime;

	/**
	 * 支付时间
	 *
	 */
	@ApiModelProperty(value = "支付时间",required = false)
    @TableField(value = "pay_time")
	private Date payTime;

	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态",required = false)
    @TableField(value = "status")
	private String status;

	/**
	 * 收货人地址
	 */
	@ApiModelProperty(value = "收货人地址",required = false)
    @TableField(value = "receiver_address")
	private String receiverAddress;

	/**
	 * 收货人电话
	 */
	@ApiModelProperty(value = "收货人电话",required = false)
    @TableField(value = "receiver_mobile")
	private String receiverMobile;

	/**
	 * 收货人
	 */
	@ApiModelProperty(value = "收货人",required = false)
    @TableField(value = "receiver")
	private String receiver;

	/**
	 * 交易流水
	 */
	@ApiModelProperty(value = "交易流水",required = false)
    @TableField(value = "transaction_id")
	private String transactionId;


	public Long getId() {	//get方法
		return id;
	}


	public void setId(Long id) {	//set方法
		this.id = id;
	}

	public Long getSeckillId() {	//get方法
		return seckillId;
	}


	public void setSeckillId(Long seckillId) {	//set方法
		this.seckillId = seckillId;
	}

	public String getMoney() {	//get方法
		return money;
	}


	public void setMoney(String money) {	//set方法
		this.money = money;
	}

	public String getUserId() {	//get方法
		return userId;
	}


	public void setUserId(String userId) {	//set方法
		this.userId = userId;
	}

	public String getSellerId() {	//get方法
		return sellerId;
	}


	public void setSellerId(String sellerId) {	//set方法
		this.sellerId = sellerId;
	}

	public Date getCreateTime() {	//get方法
		return createTime;
	}


	public void setCreateTime(Date createTime) {	//set方法
		this.createTime = createTime;
	}

	public Date getPayTime() {	//get方法
		return payTime;
	}


	public void setPayTime(Date payTime) {	//set方法
		this.payTime = payTime;
	}

	public String getStatus() {	//get方法
		return status;
	}


	public void setStatus(String status) {	//set方法
		this.status = status;
	}

	public String getReceiverAddress() {	//get方法
		return receiverAddress;
	}


	public void setReceiverAddress(String receiverAddress) {	//set方法
		this.receiverAddress = receiverAddress;
	}

	public String getReceiverMobile() {	//get方法
		return receiverMobile;
	}


	public void setReceiverMobile(String receiverMobile) {	//set方法
		this.receiverMobile = receiverMobile;
	}

	public String getReceiver() {	//get方法
		return receiver;
	}


	public void setReceiver(String receiver) {	//set方法
		this.receiver = receiver;
	}

	public String getTransactionId() {	//get方法
		return transactionId;
	}

	public void setTransactionId(String transactionId) {	//set方法
		this.transactionId = transactionId;
	}


}
